//
//  ComonBaseResponseModel.m
//  CQRCBank_Enterprise_iPhone
//
//  Created by jack.wang on 14-5-13.
//  Copyright (c) 2014年 magic-point. All rights reserved.
//

#import "ComonBaseResponseModel.h"

@implementation ComonBaseResponseModel

- (void)encodeWithCoder:(NSCoder*)coder
{
    
}

- (id)initWithCoder:(NSCoder*)decoder
{
    if ((self = [super init])){
        
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"errorCode"]) {
        [self setValue:value forKey:@"errorCode"];
    }else if ([key isEqualToString:@"errorMsg"]) {
        [self setValue:value forKey:@"errorMsg"];
    }
//    else if ([key isEqualToString:@"ReqTime"]){
//        [self setValue:value forKey:@"ReqTime"];
//    }else if ([key isEqualToString:@"SvrTime"]){
//        [self setValue:value forKey:@"SvrTime"];
//    }
    
    
}

- (NSMutableDictionary*)getTestModuleDataTypeForAttrs
{
    NSMutableDictionary* muDic = [NSMutableDictionary dictionaryWithCapacity:5];
    [muDic setObject:@"testDataType_ErrorCode_6" forKey:@"errorCode"];
    [muDic setObject:@"testDataType_NSString_CN_General" forKey:@"errorMsg"];

    return muDic;
}
@end
